<!DOCTYPE html>
<html lang="en" class="beauty-scroll">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title><%= process.env.VUE_APP_NAME %></title>
    <!-- require cdn assets css -->
    <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %>
      <link rel="stylesheet" href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" />
    <% } %>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="popContainer" class="beauty-scroll" style="height: 100vh; overflow-y: scroll">
      <div id="app"></div>
    </div>
    <!-- require cdn assets js -->
    <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %>
      <script type="text/javascript" src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
    <% } %>
    <!-- built files will be auto injected -->
    <script>
        // 房产一期几个关闭事件的实现
        function updateOrCloseTab(menu, type) {
          let iframe = document.getElementById("conent");
          let content = iframe.contentWindow;
          content.updateOrCloseTab(menu, type);
          return false;
        }
  
        function addImgTab(text, url, isUpdate, callback) {
          let iframe = document.getElementById("conent");
          let content = iframe.contentWindow;
          content.addImgTab(text, url, isUpdate, callback);
          return false;
        }
  
        function addTab(text, url, isUpdate) {
          let iframe = document.getElementById("conent");
          let content = iframe.contentWindow;
          content.addTab(text, url, isUpdate);
          return false;
        }
  
        function deleteTab(text) {
          let iframe = document.getElementById("conent");
          let content = iframe.contentWindow;
          content.deleteTab(text);
          return false;
        }
  
        function closeCurrentTab() {
          let iframe = document.getElementById("conent");
          let content = iframe.contentWindow;
          content.closeCurrentTab();
          return false;
        }
  
        function closeCurrentTabAndAddNew(text, url, isUpdate) {
          let iframe = document.getElementById("conent");
          let content = iframe.contentWindow;
          content.closeCurrentTabAndAddNew(text, url, isUpdate);
          return false;
        }
  
        function onChangeTheme(theme) {
          let iframe = document.getElementById("conent");
          let content = iframe.contentWindow;
          content.onChangeTheme(theme);
          return false;
        }
  
        function RefreshTab(currentTab) {
          let iframe = document.getElementById("conent");
          let content = iframe.contentWindow;
          content.RefreshTab(currentTab);
          return false;
        }
  
        function getTabAndRefresh(text) {
          let iframe = document.getElementById("conent");
          let content = iframe.contentWindow;
          content.onChangeTheme(theme);
          return false;
        }
  
        function switchNewIndex() {
          let iframe = document.getElementById("conent");
          let content = iframe.contentWindow;
          content.switchNewIndex();
          return false;
        }
        function pubshMsg(event, args){
          let iframe = document.getElementById("conent");
          let content = iframe.contentWindow;
          content.pubshMsg();
          return false;
        }
      </script>
  </body>
</html>
